<!--
 * @Author: JPeng 872639397@qq.com
 * @Date: 2022-05-19 23:58:11
 * @LastEditors: JPeng 872639397@qq.com
 * @LastEditTime: 2022-05-20 00:12:12
 * @FilePath: \review-review-review\复习！！！\一些其它练习 日期\5.19.html
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* div {
            width: 100px;
            height: 100px;
            background-color: red;
        }

        .a1 {
            position: relative;
            left: 100px;
            top: 20px;
            margin-top: 50px;
        } */

        .p1 {
            display: flex;
            width: 1000px;
            height: 200px;
            background-color: red;
        }

        .c1 {
            flex: 1 0 100px;
            background-color: blue;
        }

        .c2 {
            flex: 2 0 300px;
            background-color: green;
        }
    </style>
</head>

<body>
    <!-- <div></div>

    <div class="a1">

    </div>
    <div></div> -->
    <div class="p1">
        <div class="c1">

        </div>
        <div class="c2">

        </div>
    </div>
</body>

</html>